<?php
defined( '_VALID_MOS' ) or die('<script>window.location.href="http://www.kinifurniture.com";</script>');

if($msg)
{
	if($msg=='act01')
	{
		$msgtitle='Account Activation';
		$msgcontent='<p>Congratulation</p><p>Your Account has been activated<br/>You may login <a href="index.php?show=login">here</a></p>';
	}
	if($msg=='act02')
	{
		$msgtitle='Account Activation';
		$msgcontent='<p>Invalid activation code</p><p>Try Again, or you can re-send the activation code <a href="index.php?show=resend&code=activation">here</a></p>';
	}
	if($msg=='act03')
	{
		$msgtitle='Account Activation';
		$msgcontent='<p>Your account has not been activated</p><p>Wait for 1 X 24 Hours, or you can contact administrator <a href="mailto:'.$admin_email.'">here</a></p>';
	}
	if($msg=='snd01')
	{
		$msgtitle='Re-send Activation Code';
		$msgcontent='<p>Your activation code has been sent</p><p>You may check your email to activate your account</p>';
	}
	if($msg=='snd02')
	{
		$msgtitle='Re-send Activation Code';
		$msgcontent='<p>Failed sending activation code</p>';
	}
	if($msg=='reg01')
	{
		$msgtitle='Account Registration';
//		$msgcontent='<p>Congratulation</p><p>Your Account has been created<br/>You may check your email to activate your account</p>';
		$msgcontent='<p>Congratulation</p><p>Your Account has been created<br/>You will be notified when Administrator activate your account</p>';
	}
	if($msg=='reg02')
	{
		$msgtitle='Account Registration';
		$msgcontent='<p>Registration Failed. Click <a href="index.php?show=resend&code=activation">here</a> to resend activation code</p>';
	}
	if($msg=='reg03')
	{
		$msgtitle='Account Registration';
		$msgcontent='<p>Invalid Username or Password</p><p><a href="index.php?show=login">Try Again</a> or Click <a href="index.php?show=register">here</a> to register.</p>';
	}
	if($msg=='upd01')
	{
		$msgtitle='Account Information';
		$msgcontent='<p>Success updating your profile</p>';
	}
	if($msg=='upd02')
	{
		$msgtitle='Account Information';
		$msgcontent='<p>Failed updating your profile</p>';
	}
	if($msg=='spd01')
	{
		$msgtitle='Account Information';
		$msgcontent='<p>Your account has been suspended</p><p>Please contact us at <a href="mailto:support@kinifurniture.com">support@kinifurniture.com</a></p>';
	}
	if($msg=='pwd01')
	{
		$msgtitle='Re-send Password';
		$msgcontent='<p>Your password has been sent</p><p>You may check your email to get your password</p>';
	}
	if($msg=='pwd02')
	{
		$msgtitle='Re-send Password';
		$msgcontent='<p>Failed sending password</p>';
	}
}
?>